package com.t249.bdqn.renting.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.t249.bdqn.renting.entity.RetUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface RetUserDao extends BaseMapper<RetUser> {

    @Select("SELECT MAX(id) FROM `ret_user`")
    public int maxId();
}
